﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI;

namespace Database
{
   public static class MessageBox
    {
       public static void ShowMessage(string MessageText, Page MyPage)
       {
           MyPage.ClientScript.RegisterStartupScript(MyPage.GetType(), "MessageBox", "alert('" + MessageText.Replace("'", "\'") + "');", true);
       }

    }
}
